package de.fret_save.log;

import java.lang.Thread.UncaughtExceptionHandler;

import org.apache.log4j.Logger;

/**
 * UncoughtExceptionHandler, der alles undefinierte loggt
 * @author tze
 *
 */
public class UEH implements UncaughtExceptionHandler{
    private static final Logger LOG = Logger.getLogger(UEH.class);

    /**
     * @param t
     * @param e
     */
    public void uncaughtException(Thread t, Throwable e) {
        LOG.fatal("Uncaught Exception entdeckt", e);
    }
}
